@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/Quicksand-Light.otf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/Quicksand-Bold.otf');
	font-weight: bold;
	font-style: normal;
}

body {
	background-color: #272727;
	color: #DEDEDE;
	font-family: "Quicksand", sans-serif;
	text-align: center;
}

body a:first-child {
	display: inline-block;
	color: inherit;
	text-decoration: none;
	padding: 5px;
	border-radius: 4px;
	background-color: #484848;
	border: 1px solid #777777;
	position: absolute;
	top: 5px;
	left: 5px;
}

body a:first-child:hover {
	background-color: #777777;
}

form {
	margin: auto;
	text-align: center;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form>div {
	vertical-align: top;
	width: 100%;
	display: inline-block;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

h2 {
	font-size: 1.3em;
}

input {
	border: none;
	border-radius: 10px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	width: 80%;
	margin: 20px auto;
	padding: 10px;
	font-family: "Quicksand", sans-serif; /* bug fix */
	font-weight: bold;
	text-align: center;
}

.result {
	color: green;
	font-weight: bold;
}

.error {
	color: red;
	font-weight: bold;
}

input[type="submit"] {
	width: 37%;
}

@media screen and (min-width: 700px) {
	form {
	   width: 50%;
	}
}

@media screen and (min-width: 950px) {
	form>div {
		width: 50%;
	}
}

@media screen and (min-width: 1200px) {
	h1 {
		font-size: 2.5em;
	}
	input {
		font-size: 1.3em;
	}
}